<div class="users form">
<?php echo $this->Form->create('User'); ?>
	<fieldset>
		<legend><?php echo __('Add User'); ?></legend>
	<?php
		echo $this->Form->input('user_id',array('type' => 'text'));
		echo $this->Form->input('password');
		echo $this->Form->input('name');
		echo $this->Form->input('permission');
		echo $this->Form->input('start_date',array('empty' => TRUE,'dateFormat' =>'DMY'
		                        ,'minYear'=>date('Y')-100,
                                'maxYear'=>date('Y')+2));
		echo $this->Form->input('end_date',array('empty' => TRUE,'dateFormat' =>'DMY'
                                ,'minYear'=>date('Y')-100,
                                'maxYear'=>date('Y')+2));
		echo $this->Form->input('dept1');
		echo $this->Form->input('dept2');
		echo $this->Form->input('dept3');
		echo $this->Form->input('cert_of_appre');
		echo $this->Form->input('contact_id');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>

                    		<li><?php echo $this->Html->link(__('Users'), array('controller' => 'Users','action' => 'index')); ?></li>
                    		<li><?php echo $this->Html->link(__('Departments'), array('controller' => 'departments', 'action' => 'index')); ?> </li>
                    		<li><?php echo $this->Html->link(__('Contacts'), array('controller' => 'contacts', 'action' => 'index')); ?> </li>
                    		<li><?php echo $this->Html->link(__('Mail Lists'), array('controller' => 'mail_lists', 'action' => 'index')); ?> </li>
                    		<li><?php echo $this->Html->link(__('Timesheets'), array('controller' => 'timesheets', 'action' => 'index')); ?> </li>
                    		<li><?php echo $this->Html->link(__('Notes'), array('controller' => 'notes', 'action' => 'index')); ?> </li>
                    	</ul>
</div>
